package dcc.mbg.dao;

import dcc.mbg.model.SocialWork;
import dcc.mbg.model.SocialWorkExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SocialWorkMapper {
    int countByExample(SocialWorkExample example);

    int deleteByExample(SocialWorkExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SocialWork record);

    int insertSelective(SocialWork record);

    List<SocialWork> selectByExample(SocialWorkExample example);

    SocialWork selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SocialWork record, @Param("example") SocialWorkExample example);

    int updateByExample(@Param("record") SocialWork record, @Param("example") SocialWorkExample example);

    int updateByPrimaryKeySelective(SocialWork record);

    int updateByPrimaryKey(SocialWork record);
}